package base.day23;

import java.io.FileInputStream;

public class MyIo4 {
    public static void main(String[] args) {
        FileInputStream fis=null;
        try {
//            System.out.println(1/0);
            fis=new FileInputStream("E:\\text\\a.txt");
        }catch(Exception e){
            e.printStackTrace();
        }finally{
            if (fis != null) {
                try {
                    int read = fis.read();
                    System.out.println((char) read);
                }catch(Exception e){
                    e.printStackTrace();
                }
            }else {
                System.out.println("fis==null!!!");
            }
        }

    }
}
